package com.zkthink.ceres.product.service;

import com.zkthink.base.R;
import com.zkthink.base.service.SuperService;
import com.zkthink.ceres.product.dto.ProductGroupUpdateDTO;
import com.zkthink.ceres.product.entity.ProductGroup;
import com.zkthink.ceres.product.vo.ProductGroupVO;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 商品分组表
 * </p>
 *
 * @author JustArgo
 * @date 2020-05-07
 */
public interface ProductGroupService extends SuperService<ProductGroup> {
    /** 逻辑删除商品分组
     * @author JustArgo 2020/5/7 21:35
     * @return
     */
    R<Boolean> deleteProductGroup(ProductGroupUpdateDTO productGroupUpdateDTO);

    /** 查询店铺下的商品分组
     * @author 善泉 2020/6/21 14:04
     * @return
     */
	R<List<ProductGroupVO>> findProductGroupList(Long id);
}
